import request from '@/utils/request'

// 查询出资人留言列表
export function listLpLeaveMessage(query) {
  return request({
    url: '/leaveMessage/lpLeaveMessage/list',
    method: 'get',
    params: query
  })
}

// 查询出资人留言详细
export function getLpLeaveMessage(id) {
  return request({
    url: '/leaveMessage/lpLeaveMessage/' + id,
    method: 'get'
  })
}

// 保存出资人留言
export function saveLpLeaveMessage(data) {
  return request({
    url: '/leaveMessage/lpLeaveMessage/save',
    method: 'post',
    data: data
  })
}

// 删除出资人留言
export function delLpLeaveMessage(id) {
  return request({
    url: '/leaveMessage/lpLeaveMessage/' + id,
    method: 'delete'
  })
}

// 导出出资人留言
export function exportLpLeaveMessage(query) {
  return request({
    url: '/leaveMessage/lpLeaveMessage/export',
    method: 'get',
    params: query
  })
}
